package com.x.erp.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 多级营销保证金管理
 */
@MappingTable(tableName = "erp_multilevel_activity_bond")
public class MultilevelActivityBond extends BaseObject{

	@MappingColumn(columnName = "BOND_ID", columnPk = true, columnLength = 32)
	private String bondId;// 保证金ID

	@MappingColumn(columnName = "BOND_MONEY")
	private BigDecimal bondMoney;// 保证金金额

	@MappingColumn(columnName = "BOND_FREEZING_MONEY")
	private BigDecimal bondFreezingMoney;// 保证金冻结金额

	@MappingColumn(columnName = "SHOP_ID")
	private String shopId;// 车商ID

	@MappingTable(tableName = "erp_shop")
	private Shop shop;// 车商信息

	@MappingColumn(columnName = "BOND_CREATE_TIME")
	private Date bondCreateTime;// 创建时间

	@MappingColumn(columnName = "BOND_UPDATE_TIME")
	private Date bondUpdateTime;// 修改时间

	public String getBondId() {
		return bondId;
	}

	public void setBondId(String bondId) {
		this.bondId = bondId;
	}

	public BigDecimal getBondMoney() {
		return bondMoney;
	}

	public void setBondMoney(BigDecimal bondMoney) {
		this.bondMoney = bondMoney;
	}

	public BigDecimal getBondFreezingMoney() {
		return bondFreezingMoney;
	}

	public void setBondFreezingMoney(BigDecimal bondFreezingMoney) {
		this.bondFreezingMoney = bondFreezingMoney;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public Shop getShop() {
		return shop;
	}

	public void setShop(Shop shop) {
		this.shop = shop;
	}

	public Date getBondCreateTime() {
		return bondCreateTime;
	}

	public void setBondCreateTime(Date bondCreateTime) {
		this.bondCreateTime = bondCreateTime;
	}

	public Date getBondUpdateTime() {
		return bondUpdateTime;
	}

	public void setBondUpdateTime(Date bondUpdateTime) {
		this.bondUpdateTime = bondUpdateTime;
	}
}
